import request from '@/plugins/request';
//301跳转列表
export function redirectList (data) {
    return request({
        url: '/v1/site/index/redirect-list',
        method: 'get',
        params:data
    });
}
//编辑301
export function redirecttoSite (data) {
  return request({
      url: '/v1/site/index/update-redirect-to-site',
      method: 'post',
      data
  });
}
//删除301
export function deleteredirecttoSite (data) {
  return request({
      url: '/v1/site/index/delete-redirect-to-site',
      method: 'post',
      data
  });
}